/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.elbandi.pve2api;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;

/**
 *
 * @author romain
 */
public class RestClientSimple {

    private String url;
    private static HttpClient client = new DefaultHttpClient();
    
    public RestClientSimple(String url) {
        this.url = url;
        HttpPost request = new HttpPost(url);
        HttpResponse httpResponse;
        try {
            httpResponse = client.execute(request);
        } catch (IOException ex) {
            System.out.println("Ouille ouille");
        }
    }

}
